<template>
    <div>
        <h1>我是Vue3 slot 语法&效果</h1>
        <Demo msg="你好" school="尚硅谷">
            <template v-slot:test1>
                <span>123</span>
                <span>456</span>
            </template>
        </Demo>
    </div>
</template>

<script>

import Demo from "@/components/Demo.vue";
export default {
    name: 'App',
    components:{Demo},
    setup(){

        return {
        }

    },

}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
